package cn.itcast.pattern.streagy.StreategyImpl;

import cn.itcast.pattern.streagy.SaleMan;

public class Client {
    public static void main(String[] args) {
        SaleMan saleMan = new SaleMan(new StreategyA());
        saleMan.salesManShow();


        // 中秋节到了，使用中秋节活动
        SaleMan saleMan1 = new SaleMan(new StreategyB());
        saleMan1.salesManShow();
    }
}
